﻿<%@ Page Title="" Language="C#" MasterPageFile="~/shrh.Master" AutoEventWireup="true"
    CodeBehind="moreSubject.aspx.cs" Inherits="WebApp.moreSubject" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="weizhi">
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Home.htm">首页</asp:HyperLink>>商城动态
        <%--<a href="">首页</a> ><a href="">家用医疗</a> > 日常护理--%>
    </div>
    <div class="news">
        <div class="news1">
            <div class="news1_1">
                医械知识</div>
            <div class="news1_2">
                <ul>
                    <asp:ListView ID="lvNews1" runat="server" 
                        onpagepropertieschanged="lvNews1_PagePropertiesChanged">
                        <LayoutTemplate>
                            <asp:PlaceHolder ID="itemPlaceHolder" runat="server"></asp:PlaceHolder>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <li><span class="news1_lista">   
                                <a title="<%# Eval("tilte") %>" id="A2" href="/news.<%# Eval("id")%>.htm" alt="<%# Eval("tilte") %>">
                                        <%#Eval("tilte")%></a>
                            </span>
                            <span class="news1_list"><%#Eval("CreateTime") %></span></li></ItemTemplate>
                    </asp:ListView>
                </ul>
            </div>
            <div class="digg">
                <asp:DataPager ID="DataPager1" runat="server" PagedControlID="lvNews1" PageSize="17">
                    <Fields>
                        <asp:NextPreviousPagerField ButtonType="Link" ShowFirstPageButton="False" ShowNextPageButton="False"
                            ShowPreviousPageButton="True" PreviousPageText="上一页" />
                        <asp:NumericPagerField ButtonType="Link" />
                        <asp:NextPreviousPagerField ButtonType="Link" ShowLastPageButton="False" ShowNextPageButton="True"
                            ShowPreviousPageButton="False" NextPageText="下一页" />
                    </Fields>
                </asp:DataPager>
            </div>
        </div>
        <div class="news2">
            <div class="news1_1">
                保健常识</div>
            <div class="news1_2">
                <ul>
                    <asp:ListView ID="lvNews2" runat="server" 
                        onpagepropertieschanged="lvNews2_PagePropertiesChanged">
                        <LayoutTemplate>
                            <asp:PlaceHolder ID="itemPlaceHolder" runat="server"></asp:PlaceHolder>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <li><span class="news1_lista">   
                                <a title="<%# Eval("tilte") %>" id="A2" href="/news.<%# Eval("id")%>.htm" alt="<%# Eval("tilte") %>">
                                        <%#Eval("tilte")%></a>
                            </span>
                            <span class="news1_list"><%#Eval("CreateTime") %></span></li></ItemTemplate>
                    </asp:ListView>
                </ul>
            </div>
            <div class="digg">
                <asp:DataPager ID="DataPager2" runat="server" PagedControlID="lvNews2" PageSize="17">
                    <Fields>
                        <asp:NextPreviousPagerField ButtonType="Link" ShowFirstPageButton="False" ShowNextPageButton="False"
                            ShowPreviousPageButton="True" PreviousPageText="上一页" />
                        <asp:NumericPagerField ButtonType="Link" />
                        <asp:NextPreviousPagerField ButtonType="Link" ShowLastPageButton="False" ShowNextPageButton="True"
                            ShowPreviousPageButton="False" NextPageText="下一页" />
                    </Fields>
                </asp:DataPager>
            </div>
        </div>
    </div>
</asp:Content>
